In ASP.NET Core how check if request is local

109

In ASP.NET Core how check if request is local -

if (Request.Host.Host == "localhost") 
{
  // do something 
}

Comments

Submit
0 Comments